Configuration
External Events Consumer uses standard Insights Factory Component configuration in terms of:
For more information see linked sections.
RabbitMq configuration
External Events Consumer uses two buses:
- external - for receiving events from external sources
- internal - to send translated events to the triggering mechanisms in the form that is interpretable by other system components
Therefore configuration should specify both connections:
"insightsFactoryRabbitMq": {
"hostNames": [
"name_of_vhost"
],
"virtualHost": "internal",
"connectionName": "insight-factory-external-events-consumer",
"useQuorumQueues": true,
"protocol": "rabbitmq://"
},
"externalRabbitMq": {
"hostNames": [
"name_of_vhost"
],
"virtualHost": "external",
"connectionName": "insight-factory-external-events-consumer",
"useQuorumQueues": true,
"protocol": "rabbitmq://"
}
For more information on used parameters see Rabbit configuration
Application parameters
Parameter name | Default value | Description |
---|---|---|
BankAdminIntegration.Cache.EventSchemasCacheEnabled | bool: true | If false on each event publish event schemas would be fetched from BankAdmin component. Otherwise once fetched they would be taken from response cached in the application. |
Events.ValidateSchema | bool: true | If true published event would be validated against registered event schema. |
Events.MaxChunkSize | int:0 | Defines maximum events batch size. Events will be split into chunks of size at most. MaxEventsChunkSize.MaxEventsChunkSize set to '0' means that splitting should be disabled. |